package com.mlick.a.other;

import java.util.regex.Pattern;

/**
 * @author lixiangxin
 * @date 2019/5/9 11:55
 **/
public class M {


  public static void main(String[] args) {
    String prex = "/getS/v1.0/(\\w+)/(\\w+)";

    boolean matches = Pattern.matches("/getS/v1.0/weather/common", prex);

    System.out.println(matches);
  }
}
